Getter And Setter Method In C++